package com.ayf.payment.game.api.dto.player;

import java.util.UUID;

/**
 * @Author: zh-liang
 * @Date : 2020-08-20 14:39
 */
public class PlayerKeyUtil {

    public static String getLoginToken() {
        return "PLAYER_TOKEN_" + UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static String getSmsKey(String type, String phone) {
        return "PLAYER_" + type + "_" + phone;
    }
}
